/*
 * RetencionesType.java
 *
 * Created on 21 de enero de 2008, 19:53
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package mx.gob.sat.cfd._2.comprobante;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "retencion"
    })
public class Retenciones {
    
    @XmlElement(name="Retencion", namespace="http://www.sat.gob.mx/cfd/2", required=true)
    protected List<Retencion> retencion;

    /**
      * Gets the value of the retencion property.
      * 
      * <p>
      * This accessor method returns a reference to the live list,
      * not a snapshot. Therefore any modification you make to the
      * returned list will be present inside the JAXB object.
      * This is why there is not a <CODE>set</CODE> method for the retencion property.
      * 
      * <p>
      * For example, to add a new item, do as follows:
      * <pre>
      *    getRetencion().add(newItem);
      * </pre>
      * 
      * 
      * <p>
      * Objects of the following type(s) are allowed in the list
      * {@link ComprobanteType.Impuestos.Retenciones.Retencion }
      * 
      * 
      */
    public List<Retencion> getRetencion() {
        if (retencion == null) {
            retencion = new ArrayList<Retencion>();
        }
        return this.retencion;
    }
}
